﻿/**************************************************************
*作者：Leon
*创建时间：2022/4/7 15:00:00
**************************************************************/
namespace Lad.DrawProject.Controls;

/// <summary>
/// 宽高由内容指定的实体模型
/// </summary>
public abstract class DataControlViewModel:DesignerItemViewModelBase
{
    public DataControlViewModel() : base()
    {
    }
}

public class DataControlDemo: DataControlViewModel
{
    public DataControlDemo() : base()
    {
        LeftBulge = DipHelper.MmToDip(90);
        RightBulge = DipHelper.MmToDip(90);
    }
    private double _LeftBulge;

    public double LeftBulge
    {
        get { return _LeftBulge; }
        set { SetProperty(ref _LeftBulge, value); }
    }
    private double _RightBulge;

    public double RightBulge
    {
        get { return _RightBulge; }
        set { SetProperty(ref _RightBulge, value); }
    }
}


